Optimal. Leaf size=55 \[ \frac{1}{3} a^2 A x^3+\frac{1}{7} b x^7 (2 a B+A b)+\frac{1}{5} a x^5 (a B+2 A b)+\frac{1}{9} b^2 B x^9 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.115645, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05 \[ \frac{1}{3} a^2 A x^3+\frac{1}{7} b x^7 (2 a B+A b)+\frac{1}{5} a x^5 (a B+2 A b)+\frac{1}{9} b^2 B x^9 \]
Antiderivative was successfully verified.
[In] Int[x^2*(a + b*x^2)^2*(A + B*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 16.858, size = 49, normalized size = 0.89 \[ \frac{A a^{2} x^{3}}{3} + \frac{B b^{2} x^{9}}{9} + \frac{a x^{5} \left (2 A b + B a\right )}{5} + \frac{b x^{7} \left (A b + 2 B a\right )}{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2*(b*x**2+a)**2*(B*x**2+A),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0141036, size = 55, normalized size = 1. \[ \frac{1}{3} a^2 A x^3+\frac{1}{7} b x^7 (2 a B+A b)+\frac{1}{5} a x^5 (a B+2 A b)+\frac{1}{9} b^2 B x^9 \]
Antiderivative was successfully verified.
[In] Integrate[x^2*(a + b*x^2)^2*(A + B*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0., size = 52, normalized size = 1. \[{\frac{{b}^{2}B{x}^{9}}{9}}+{\frac{ \left ({b}^{2}A+2\,abB \right ){x}^{7}}{7}}+{\frac{ \left ( 2\,abA+{a}^{2}B \right ){x}^{5}}{5}}+{\frac{{a}^{2}A{x}^{3}}{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2*(b*x^2+a)^2*(B*x^2+A),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.34559, size = 69, normalized size = 1.25 \[ \frac{1}{9} \, B b^{2} x^{9} + \frac{1}{7} \,{\left (2 \, B a b + A b^{2}\right )} x^{7} + \frac{1}{3} \, A a^{2} x^{3} + \frac{1}{5} \,{\left (B a^{2} + 2 \, A a b\right )} x^{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2*x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.211573, size = 1, normalized size = 0.02 \[ \frac{1}{9} x^{9} b^{2} B + \frac{2}{7} x^{7} b a B + \frac{1}{7} x^{7} b^{2} A + \frac{1}{5} x^{5} a^{2} B + \frac{2}{5} x^{5} b a A + \frac{1}{3} x^{3} a^{2} A \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2*x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.111041, size = 56, normalized size = 1.02 \[ \frac{A a^{2} x^{3}}{3} + \frac{B b^{2} x^{9}}{9} + x^{7} \left (\frac{A b^{2}}{7} + \frac{2 B a b}{7}\right ) + x^{5} \left (\frac{2 A a b}{5} + \frac{B a^{2}}{5}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2*(b*x**2+a)**2*(B*x**2+A),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.250098, size = 72, normalized size = 1.31 \[ \frac{1}{9} \, B b^{2} x^{9} + \frac{2}{7} \, B a b x^{7} + \frac{1}{7} \, A b^{2} x^{7} + \frac{1}{5} \, B a^{2} x^{5} + \frac{2}{5} \, A a b x^{5} + \frac{1}{3} \, A a^{2} x^{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x^2 + A)*(b*x^2 + a)^2*x^2,x, algorithm="giac")
[Out]